package com.hruiworks.campusgroup.manager.entity;

import com.hruiworks.campusgroup.pojo.entity.Activity;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 面向单个活动的部分统计信息
 */
@Data
public class ActivityData implements Serializable {

    @Serial
    private static final long serialVersionUID = 8081875941102046480L;

    /**
     * 活动信息
     */
    private Activity activity;

    /**
     * 活动参与次数
     */
    private Integer times;

    /**
     * 拼团成功率
     */
    private BigDecimal groupSuccessRate;

    /**
     * 拼团成功率字符串
     */
    private String groupSuccessRateStr;





}
